﻿<UserControl x:Class="WPFInterview.DB.DatabaseQuestion"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    MinWidth="200" MinHeight="400">
    <Grid Loaded="Grid_Loaded">
        <StackPanel>
            <ListBox Height="100" Name="_listQuestions"/>
            <Label Name="_labelBindingQuestions" Content="{Binding Path=Question/Category}" Height="30"></Label> 
            <ListBox Name="_listBingingQuestions" ItemsSource="{Binding Path=Question}" DisplayMemberPath="Content" Height="100"></ListBox>
            <ListBox Name="_listBindingObjects" Height="100"></ListBox>
        </StackPanel>
    </Grid>
</UserControl>
